﻿@model CafeApp.Models.LoginModel

@{
    ViewBag.Title = "Đăng nhập hệ thống";
}

<div data-role="header">
    @*@Html.ActionLink("Cancel", "Index", "Home", null, new { data_icon = "arrow-l", data_rel = "back" })*@
    <h1>@ViewBag.Title</h1>
</div>
<div data-role="content">
    @using (Html.BeginForm()) {
        @Html.ValidationSummary()

        <ul data-role="listview" data-inset="true">
            <li data-role="list-divider">Details</li>

            <li data-role="fieldcontain">
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)            
            </li>

            <li data-role="fieldcontain">
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)            
            </li>

            <li data-role="fieldcontain">
                @Html.LabelFor(m => m.RememberMe)
                @Html.CheckBoxFor(m => m.RememberMe)
            </li>

            <li data-role="fieldcontain">
                <input type="submit" value="Log in" />
            </li>
        </ul>
    }

    @section Scripts {
        @Scripts.Render("~/bundles/jqueryval")
    }
</div>